<div class="box">
  <div class="box-heading"><span class="title"><?php echo $heading_title; ?></span></div>
  <div class="box-content">
    <div class="box-category">
      <ul>
        <?php foreach ($categories as $category): ?>
            <li data-url="<?php echo $category['href']; ?>">
              <?php if($category['category_id']==$category_id): ?>
                <a href="<?php echo $category['href']; ?>"><img src="<?php echo $left_image; ?>" /><?php echo $category['name']; ?></a>
              <?php else: ?>
                <a href="<?php echo $category['href']; ?>"><img src="<?php echo $left_image; ?>" /><?php echo $category['name']; ?></a>
              <?php endif; ?>
              <!--<?php //if($category['children']): ?>
                  <ul>
                    <?php //foreach($category['children'] as $child): ?>
                        <li>
                          <?php //if($child['category_id']==$child_id): ?>
                            <a href="<?php //echo $child['href']; ?>" class="active"> - <?php //echo $child['name']; ?></a>
                          <?php //else: ?>
                            <a href="<?php //echo $child['href']; ?>"> - <?php //echo $child['name']; ?></a>
                          <?php //endif; ?>
                        </li>
                    <?php //endforeach; ?>
                  </ul>
              <?php //endif; ?>-->
            </li>
        <?php endforeach; ?>
      </ul>
    </div>
  </div>
</div>
